//#ifdef APP-PLUS
import checkAppUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update'
//#endif
import {getWy,getPlatform} from '@/uni_modules/wy-core/context' 
const that={
	checkUpdate(option){
		//#ifdef APP-PLUS
		return checkAppUpdate()
		//#endif
		//#ifndef APP-PLUS
		return new Promise((resolve, reject) => {
			reject({
				message: '请在App中使用'
			})
		})
		//#endif
	}
};
export default that